<!--
 * @Author: your name
 * @Date: 2021-01-25 12:46:03
 * @LastEditTime: 2021-01-25 13:10:45
 * @LastEditors: Please set LastEditors
 * @Description: 面包屑导航
 * @FilePath: \vue-admin-seed\src\components\common\breadcrumb.vue
-->
<template>
  <div class="crumbs">
    <el-breadcrumb separator="/" >
      <el-breadcrumb-item v-for="(item,index) in navList" :key="index">
         {{item}}
      </el-breadcrumb-item>
    </el-breadcrumb>
  </div>
</template>
<script>
export default {
  props:{
    navList:{
     type:Array,
     default:()=>[]
    }
  }
};
</script>
<style lang='scss' scoped>
.crumbs{
 margin-left:10px
}
</style>